﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.View
{
    /// <summary>
    /// VIEW
    /// </summary>
    [Table("View_GetPickUpMain")]
    public partial class View_GetPickUpMain
    {

        /// <summary>
        /// Id
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 备注(弃用)
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 销售类型说明
        /// </summary>
        public String StyleName { get; set; }

        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }

        /// <summary>
        /// 客户
        /// </summary>
        public String CusID { get; set; }

        /// <summary>
        /// 客户地址
        /// </summary>
        public String CustomerAddress { get; set; }

        /// <summary>
        /// 审核说明
        /// </summary>
        public String Toexamine { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Memo { get; set; }

        /// <summary>
        /// 对应的发货通知单
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 楼号名称
        /// </summary>
        public String BuildingId { get; set; }

        /// <summary>
        /// 二维码
        /// </summary>
        public String QrCode { get; set; }

        /// <summary>
        /// 状态：0-待审核，1-已审核，2-备货中，3-备货完成
        /// </summary>
        public Int32? StatusIn { get; set; }

        /// <summary>
        /// 审核人ID
        /// </summary>
        public String ReviewerId { get; set; }

        /// <summary>
        /// 审核人姓名
        /// </summary>
        public String ReviewerName { get; set; }

        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime? ReviewTIme { get; set; }

        /// <summary>
        /// 客户名
        /// </summary>
        public String CusName { get; set; }

        /// <summary>
        /// RealNums
        /// </summary>
        public Double RealNums { get; set; }

        /// <summary>
        /// ShipmentNums
        /// </summary>
        public Double ShipmentNums { get; set; }

        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备货数量
        /// </summary>
        public Double? StockVolume { get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public Double? ReadyNums { get; set; }

        /// <summary>
        /// 复核结果：0=正常；1=异常
        /// </summary>
        public int? ToReviewStatus { get; set; }
        /// <summary>
        /// 0 备货单 1调整单
        /// </summary>
        public int? OrderType { get; set; }

    }
}